from PyQt5.QtWebEngineWidgets import QWebEngineView
from PyQt5.QtWidgets import QApplication
from app.main_window import MainWindow

if __name__ == "__main__":
    import sys
    app = QApplication(sys.argv)
    QWebEngineView()  # 强制初始化 WebEngine
    window = MainWindow()
    window.showMaximized()
    sys.exit(app.exec_())